package org.jash.apps.model

import io.virtualapp.hook_sdk.app.InstallAppUtils
import org.jash.common.mvi.BaseViewModel

class LocalViewModel:BaseViewModel<LocalIndent, LocalState>() {
    private val installAppUtils by lazy { InstallAppUtils() }
    fun loadLocalApp(load:LocalIndent.LoadLocalApp) {
        state.value = LocalState.Response(installAppUtils.selInstalledApps())
    }
}